package com.foreknow.service;

import com.foreknow.bean.Admin;

public interface AdminService {
  /**
   * 验证登录的业务方法
   * @param username
   * @param password
   * @return
   */
  public Admin isValidate(String username,String password);

  /**
   * 添加操作的业务方法
   * @param admin
   * @return
   */
  public boolean add(Admin admin);
}
